#! /bin/bash

set -x

cur_dir=$(cd `dirname $0`;pwd)

cd $cur_dir

echo $1 > ${cur_dir}/ip.txt

git config --system user.name  "15934513463"
git config --system user.email "3zhangl@163.com"
git add ${cur_dir}
git commit -m "update ip"
git push origin master
